def is_palindrome():
    num = input('请输入整数：\n')
    palindrome_num = num[::-1]
    return num == palindrome_num
print(is_palindrome())
